﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RootfusCoreComponents.IO
{
    /// <summary>
    /// Input about an input pin, including everyone that is going to send it data.
    /// </summary>
    public class SIInputConnection
    {
        /// <summary>
        /// Info about a particular pin that sends us data.
        /// </summary>
        public class SIInputLanding
        {
            public string _output_item_name;
            public string _output_pin_name;
            public SIInputLanding (string item_name, string pin_name)
            {
                _output_item_name = item_name;
                _output_pin_name = pin_name;
            }
            public SIInputLanding()
            {
            }
        }

        public string _input_pin_name;
        public List<SIInputLanding> _input_landings;

        public SIInputConnection(string input_pin, List<SIInputLanding> landing_list)
        {
            _input_pin_name = input_pin;
            _input_landings = landing_list;
        }

        public SIInputConnection()
        {
        }
    }
}
